<!DOCTYPE html>
<html>
<head>
    

    

    



    <meta charset="utf-8">
    
    
    
    
    <title>SongKaBaKa</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <meta name="theme-color" content="#3F51B5">
    
    
    <meta name="keywords" content="">
    <meta property="og:type" content="website">
<meta property="og:title" content="SongKaBaKa">
<meta property="og:url" content="https://gitee.com/songbug/blog.git/index.html">
<meta property="og:site_name" content="SongKaBaKa">
<meta property="og:locale" content="en_US">
<meta property="article:author" content="Song Wani">
<meta name="twitter:card" content="summary">
    
    <link rel="shortcut icon" href="/blog/favicon.ico">
    <link rel="stylesheet" href="//unpkg.com/hexo-theme-material-indigo@latest/css/style.css">
    <script>window.lazyScripts=[]</script>

    <!-- custom head -->
    

<meta name="generator" content="Hexo 4.2.1"></head>

<body>
    <div id="loading" class="active"></div>

    <aside id="menu"  >
  <div class="inner flex-row-vertical">
    <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
        <i class="icon icon-lg icon-close"></i>
    </a>
    <div class="brand-wrap" style="background-image:url(/blog/img/brand.jpg)">
      <div class="brand">
        <a href="/blog/" class="avatar waves-effect waves-circle waves-light">
          <img src="/blog/img/avatar.jpg">
        </a>
        <hgroup class="introduce">
          <h5 class="nickname">Song Wani</h5>
          <a href="mailto:bugsong@wo.cn" title="bugsong@wo.cn" class="mail">bugsong@wo.cn</a>
        </hgroup>
      </div>
    </div>
    <div class="scroll-wrap flex-col">
      <ul class="nav">
        
            <li class="waves-block waves-effect active">
              <a href="/blog/"  >
                <i class="icon icon-lg icon-home"></i>
                主页
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/blog/archives"  >
                <i class="icon icon-lg icon-archives"></i>
                Archives
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/blog/tags"  >
                <i class="icon icon-lg icon-tags"></i>
                Tags
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="/blog/categories"  >
                <i class="icon icon-lg icon-th-list"></i>
                Categories
              </a>
            </li>
        
            <li class="waves-block waves-effect">
              <a href="https://songbug.gitee.io/blog" target="_blank" >
                <i class="icon icon-lg icon-github"></i>
                Github
              </a>
            </li>
        
      </ul>
    </div>
  </div>
</aside>

    <main id="main">
        <header class="top-header" id="header">
    <div class="flex-row">
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
          <i class="icon icon-lg icon-navicon"></i>
        </a>
        <div class="flex-col header-title ellipsis">SongKaBaKa</div>
        
        <div class="search-wrap" id="search-wrap">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
                <i class="icon icon-lg icon-chevron-left"></i>
            </a>
            <input type="text" id="key" class="search-input" autocomplete="off" placeholder="Search">
            <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
                <i class="icon icon-lg icon-search"></i>
            </a>
        </div>
        
        
        <a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
            <i class="icon icon-lg icon-share-alt"></i>
        </a>
        
    </div>
</header>
<header class="content-header index-header">

    <div class="container fade-scale">
        <h1 class="title">SongKaBaKa</h1>
        <h5 class="subtitle">
            
                
            
        </h5>
    </div>

    


</header>

<div class="container body-wrap">

    <ul class="post-list">
    
        <li class="post-list-item fade">
            <article id="post-0.02年学会linux"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2021-01-13 16:23:38" datetime="2021-01-13T08:23:38.558Z"  itemprop="datePublished">2021-01-13</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/blog/2021/01/13/0.02%E5%B9%B4%E5%AD%A6%E4%BC%9Alinux/">0.02年学会linux</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        入门的入门知识本教程结合菜鸟教程和哔哩哔哩韩顺平图解linux2021版。

启动过程启动分为5个阶段
内核引导,BIOS自检，操作系统接管硬件以后，首先读入 /boot 目录下的内核文件

运行init，init 程序 首先是需要读取配置文件 /etc/inittab。
运行级别，貌似是开机启动项，这里叫做“守护进程”。

运行级别0：系统停机状态，系统默认运行级别不能设为0，否则不能正常...
    

        <a href="/blog/2021/01/13/0.02%E5%B9%B4%E5%AD%A6%E4%BC%9Alinux/" class="post-more waves-effect waves-button">
            Continue reading...
        </a>
    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-MySQL数据库"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2020-12-18 20:15:18" datetime="2020-12-18T12:15:18.762Z"  itemprop="datePublished">2020-12-18</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/blog/2020/12/18/MySQL%E6%95%B0%E6%8D%AE%E5%BA%93/">MySQL数据库</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        数据库入门第二章 数据库和表的基本操作数据库基础知识创建数据库CREATE DATABASE [IF NOE EXISTS] db_name;
CREATE DATABASE mydb1;
create database mydb2 character set gbk;
create database mydb3 character set utf8 collate utf8_bin;
查看...
    

        <a href="/blog/2020/12/18/MySQL%E6%95%B0%E6%8D%AE%E5%BA%93/" class="post-more waves-effect waves-button">
            Continue reading...
        </a>
    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-JavaScript学习笔记"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2020-11-17 18:29:19" datetime="2020-11-17T10:29:19.850Z"  itemprop="datePublished">2020-11-17</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/blog/2020/11/17/JavaScript%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/">JavaScript学习笔记</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        JavaScript学习笔记
    

        <a href="/blog/2020/11/17/JavaScript%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/" class="post-more waves-effect waves-button">
            Continue reading...
        </a>
    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-CSS技能进阶"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2020-11-07 14:00:17" datetime="2020-11-07T06:00:17.537Z"  itemprop="datePublished">2020-11-07</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/blog/2020/11/07/CSS%E6%8A%80%E8%83%BD%E8%BF%9B%E9%98%B6/">CSS技能进阶</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        盒子模型详解整体内容整理自
，仅供交流学习使用。
了解盒子概念与基本使用盒子模型区别于弹性盒模型，下面是盒子模型的示意图
[
                
                    
                    
                
                BcfQzD.png](https://s1.ax1x.com/2020/11/04...
    

        <a href="/blog/2020/11/07/CSS%E6%8A%80%E8%83%BD%E8%BF%9B%E9%98%B6/" class="post-more waves-effect waves-button">
            Continue reading...
        </a>
    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-CSS3的再学习"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2020-09-27 14:02:21" datetime="2020-09-27T06:02:21.355Z"  itemprop="datePublished">2020-09-27</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/blog/2020/09/27/CSS3%E7%9A%84%E5%86%8D%E5%AD%A6%E4%B9%A0/">CSS3的再学习</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        CSS3的再学习display首先需要了解块元素与行内元素的区别:块元素：

独占一行，宽度默认100%
可设置宽高，仍独占一行
拥有padding和margin属性

行内元素：

不会独占一行，排不下再换行
宽度由内容撑起
设置宽高无效
margin和padding：水平产生边距效果，垂直无效

行内块元素，两者合并，行内排布，可设宽高。
list-item：指定对象为列表项目简单的不重...
    

        <a href="/blog/2020/09/27/CSS3%E7%9A%84%E5%86%8D%E5%AD%A6%E4%B9%A0/" class="post-more waves-effect waves-button">
            Continue reading...
        </a>
    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-CSS_Animation进阶"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2020-09-26 16:12:44" datetime="2020-09-26T08:12:44.681Z"  itemprop="datePublished">2020-09-26</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/blog/2020/09/26/CSS_Animation%E8%BF%9B%E9%98%B6/">CSS_Animation进阶</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        Animation笼统来讲，帧动画就是定义几个帧的动作，编成一组起个名字，最后让某个元素调用即可
关键帧使用介绍12345678@keyframes name1&#123;	from&#123;		动作	&#125;	to&#123;		动作	&#125;&#125;

在元素中使用
12animation-name：name1；&#x2F;&#x2F;调用我们的动画animation-du...
    

        <a href="/blog/2020/09/26/CSS_Animation%E8%BF%9B%E9%98%B6/" class="post-more waves-effect waves-button">
            Continue reading...
        </a>
    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-CSS3的学习"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2020-09-23 21:08:52" datetime="2020-09-23T13:08:52.496Z"  itemprop="datePublished">2020-09-23</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/blog/2020/09/23/CSS3%E7%9A%84%E5%AD%A6%E4%B9%A0/">CSS3的学习</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        定位positioningpositionstatic静态定位，正常文档流，默认值，上到下，左到右
relative相对定位，元素的位置还在文档中，相对于自己的左上角进行偏移，我人走了，位置得给我留着，谁也不能动，这就叫相对
absolute绝对定位，脱离文档流，相对于包含他的容器进行定位，而且原来在文档中的位置会被后来元素占用
父级元素涉及position(非static属性) trans...
    

        <a href="/blog/2020/09/23/CSS3%E7%9A%84%E5%AD%A6%E4%B9%A0/" class="post-more waves-effect waves-button">
            Continue reading...
        </a>
    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-阶段复习"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2020-09-22 22:26:47" datetime="2020-09-22T14:26:47.178Z"  itemprop="datePublished">2020-09-22</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/blog/2020/09/22/%E9%98%B6%E6%AE%B5%E5%A4%8D%E4%B9%A0/">阶段复习</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        我也不知道会不会有更深层次的理解，我打算再将部分数据类型、函数、类、文件操作等再复习一遍。那就让我们从字符串开始吧！
String常用方法：

title() 软

replace(‘\n,””)就是使用空来取代\n

upper() 软

lower() 软

lstrip() 软

rsttip() 软

strip() 软 不会删除中间的

capitalize() 软 串的首字母大写...
    

        <a href="/blog/2020/09/22/%E9%98%B6%E6%AE%B5%E5%A4%8D%E4%B9%A0/" class="post-more waves-effect waves-button">
            Continue reading...
        </a>
    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-重复引用问题"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2020-09-22 22:26:47" datetime="2020-09-22T14:26:47.176Z"  itemprop="datePublished">2020-09-22</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/blog/2020/09/22/%E9%87%8D%E5%A4%8D%E5%BC%95%E7%94%A8%E9%97%AE%E9%A2%98/">重复引用问题</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        这个重复引用大概就是，我在主文件加载了相关模块，但是主文件所使用的函数还需要依赖于这个相关模块，所以我还要在这个函数的文件内再引入一次依赖模块，虽然重复引用了，但是我不知道Python是怎么处理的，仅仅初始化第一遍吗？

    

        <a href="/blog/2020/09/22/%E9%87%8D%E5%A4%8D%E5%BC%95%E7%94%A8%E9%97%AE%E9%A2%98/" class="post-more waves-effect waves-button">
            Continue reading...
        </a>
    </div>
    
</article>

        </li>
    
        <li class="post-list-item fade">
            <article id="post-贪婪模式和非贪婪模式"
  class="article-card article-type-post" itemprop="blogPost">

    <div class="post-meta">
        <time class="post-time" title="2020-09-22 22:26:47" datetime="2020-09-22T14:26:47.174Z"  itemprop="datePublished">2020-09-22</time>

        


    </div>

    


  
    <h3 class="post-title" itemprop="name">
      <a class="post-title-link" href="/blog/2020/09/22/%E8%B4%AA%E5%A9%AA%E6%A8%A1%E5%BC%8F%E5%92%8C%E9%9D%9E%E8%B4%AA%E5%A9%AA%E6%A8%A1%E5%BC%8F/">贪婪模式和非贪婪模式</a>
    </h3>
  




    <div class="post-content" id="post-content" itemprop="postContent">

    
        正则表达式的学习
点：匹配所有字符。.表示要匹配除了换行符之外的任何单个字符
星号：*表示匹配前面的子表达式任意次，包括0次（字符未出现）
加号：+表示匹配前面的子表达式一次或多次，至少出现一次
问号：?表示匹配前面的子表达式0次或1次。
花括号：{}匹配出现的字符{最少，最多}次，写一个数字就是制定匹配多少次。
贪婪模式和非贪婪模式贪婪*+？就是尽可能多的去匹配字符，缺省就是贪婪模式
在*...
    

        <a href="/blog/2020/09/22/%E8%B4%AA%E5%A9%AA%E6%A8%A1%E5%BC%8F%E5%92%8C%E9%9D%9E%E8%B4%AA%E5%A9%AA%E6%A8%A1%E5%BC%8F/" class="post-more waves-effect waves-button">
            Continue reading...
        </a>
    </div>
    
</article>

        </li>
    
    </ul>

    
<nav id="page-nav">
    <div class="inner">
    <span class="page-number current">1</span><a class="page-number" href="/blog/page/2/">2</a><a class="page-number" href="/blog/page/3/">3</a><a class="extend next" rel="next" href="/blog/page/2/">下一页</a>
    </div>
</nav>


</div>

        <footer class="footer">
    <div class="top">
        
<p>
    <span id="busuanzi_container_site_uv" style='display:none'>
        站点总访客数：<span id="busuanzi_value_site_uv"></span>
    </span>
    <span id="busuanzi_container_site_pv" style='display:none'>
        站点总访问量：<span id="busuanzi_value_site_pv"></span>
    </span>
</p>


        <p>
            
            <span>This blog is licensed under a <a rel="license noopener" href="https://creativecommons.org/licenses/by/4.0/" target="_blank">Creative Commons Attribution 4.0 International License</a>.</span>
        </p>
    </div>
    <div class="bottom">
        <p><span>Song Wani &copy; 2019 - 2021</span>
            <span>
                
                Power by <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="https://github.com/yscoder/hexo-theme-indigo" target="_blank">indigo</a>
            </span>
        </p>
    </div>
</footer>

    </main>
    <div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>



<div class="global-share" id="globalShare">
    <ul class="reset share-icons">
      <li>
        <a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=https://gitee.com/songbug/blog.git/&title=SongKaBaKa&pic=https://gitee.com/songbug/blog.git/img/avatar.jpg" data-title="微博">
          <i class="icon icon-weibo"></i>
        </a>
      </li>
      <li>
        <a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
          <i class="icon icon-weixin"></i>
        </a>
      </li>
      <li>
        <a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=https://gitee.com/songbug/blog.git/&title=SongKaBaKa&source=" data-title=" QQ">
          <i class="icon icon-qq"></i>
        </a>
      </li>
      <li>
        <a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https://gitee.com/songbug/blog.git/" data-title=" Facebook">
          <i class="icon icon-facebook"></i>
        </a>
      </li>
      <li>
        <a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=SongKaBaKa&url=https://gitee.com/songbug/blog.git/&via=https://gitee.com/songbug/blog.git" data-title=" Twitter">
          <i class="icon icon-twitter"></i>
        </a>
      </li>
      <li>
        <a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=https://gitee.com/songbug/blog.git/" data-title=" Google+">
          <i class="icon icon-google-plus"></i>
        </a>
      </li>
    </ul>
 </div>


<div class="page-modal wx-share" id="wxShare">
    <a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
    <p>扫一扫，分享到微信</p>
    <img src="//api.qrserver.com/v1/create-qr-code/?data=https://gitee.com/songbug/blog.git/" alt="微信分享二维码">
</div>




    <script src="//cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>
<script>
var BLOG = { ROOT: '/blog/', SHARE: true, REWARD: false };


</script>

<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/main.min.js"></script>


<div class="search-panel" id="search-panel">
    <ul class="search-result" id="search-result"></ul>
</div>
<template id="search-tpl">
<li class="item">
    <a href="{path}" class="waves-block waves-effect">
        <div class="title ellipsis" title="{title}">{title}</div>
        <div class="flex-row flex-middle">
            <div class="tags ellipsis">
                {tags}
            </div>
            <time class="flex-col time">{date}</time>
        </div>
    </a>
</li>
</template>

<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/search.min.js" async></script>






<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>



<script>
(function() {
    var OriginTitile = document.title, titleTime;
    document.addEventListener('visibilitychange', function() {
        if (document.hidden) {
            document.title = '死鬼去哪里了！';
            clearTimeout(titleTime);
        } else {
            document.title = '(つェ⊂)咦!又好了!';
            titleTime = setTimeout(function() {
                document.title = OriginTitile;
            },2000);
        }
    });
})();
</script>



</body>
</html>
